package desgin.pattern.behavior.state;
/**
 * 
 * @Type Context
 * @Desc 环境角色类
 * @author Administrator
 * @date 2015年3月13日
 * @Version V1.0
 */
public class Context {

    private State state;

    public Context(State state) {
        this.state = state;
    }

    public void handle(String sth) {
        state.action(sth);
    }

}
